#include "PressStart.h"


PressStart::PressStart()
{}

void PressStart::drawPressStart()
{
	glColor3f(1,1,1);

	glEnable(GL_TEXTURE_2D);
	glBindTexture(GL_TEXTURE_2D, texHandle);

	int altUP = 7.0f;
	int altDown = -13.0f;
	int distLeft = -14.0f;
	int distRight = 14.0f;
	int zoom = 8.0f;

	GLfloat texCoord[][2] = {{0.0,0.0},
							{1.0,0.0},
							{1.0,1.0},
							{0.0,1.0}};



	glPushMatrix();

		glLoadIdentity();

		glBegin(GL_QUADS);


			glNormal3f(0.0, 0.0, 1.0);

			glTexCoord2fv(texCoord[0]);
			glVertex3f(distLeft, altDown, -zoom);

			glTexCoord2fv(texCoord[3]);
			glVertex3f(distLeft, altUP, -zoom);

			glTexCoord2fv(texCoord[2]);
			glVertex3f(distRight, altUP, -zoom);

			glTexCoord2fv(texCoord[1]);
			glVertex3f(distRight, altDown, -zoom);

		glEnd();
	glPopMatrix();

	glDisable(GL_TEXTURE_2D);
}

PressStart::~PressStart()
{}
